Solution:
item = '001' items = ['001', '000', '003', '005', '006'] if item in items: items.remove(item) print(items)